.optimization-page {
  padding: 24px;
  background-color: #f5f5f5;
  min-height: calc(100vh - 64px);
}

.selected-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.stock-list {
  display: flex;
  flex-wrap: wrap;
  max-height: 200px;
  overflow-y: auto;
  padding: 8px 0;
}

/* 参数范围设置样式 */
.param-ranges {
  padding: 16px;
  background-color: #fafafa;
  border-radius: 4px;
  border: 1px solid #f0f0f0;
}

.param-range-item {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.param-name {
  font-weight: bold;
  margin-bottom: 8px;
}

.param-value {
  padding-left: 12px;
}

.range-inputs {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.range-separator {
  margin: 0 8px;
  color: #999;
}

/* 优化进度样式 */
.optimization-progress {
  margin-top: 20px;
}

.optimization-progress .ant-progress {
  margin-top: 16px;
}

/* 结果表格样式 */
.results-summary {
  margin-bottom: 20px;
}

.parameter-cell {
  font-size: 12px;
  line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .optimization-page {
    padding: 16px;
  }
  
  .param-range-item {
    flex-direction: column;
  }
  
  .param-name {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .param-value {
    width: 100%;
    padding-left: 0;
  }
} 